import request from '@/utils/request'
// 水机


//获取水机列表
export function getMasterReadList(params) {
    return request({
        url: '/expenses/master_read',
        method: 'get',
        params
    })
}

//获取社区详情
export function getMasterReadDetail(params) {
    return request({
        url: '/expenses/master_read/detail',
        method: 'get',
        params
    })
}
export function masterReadDetail(params) {
    return request({
        url: '/expenses/master_read/masterReadDetail',
        method: 'get',
        params
    })
}
export function getMasterReadSelectList(params) {
    return request({
        url: '/expenses/master_read/getSelectLists',
        method: 'get',
        params
    })
}
//添加
export function createMasterRead(data) {
    return request({
        url: '/expenses/master_read/create',
        method: 'post',
        data
    })
}

//修改
export function updateMasterRead(data) {
    return request({
        url: '/expenses/master_read/update',
        method: 'put',
        data
    })
}


//修改
export function changeMasterReadFiledStatus(data) {
    return request({
        url: '/expenses/master_read/changeFiledStatus',
        method: 'put',
        data
    })
}


//删除
export function delMasterRead(data) {
    return request({
        url: '/expenses/master_read/delete',
        method: 'delete',
        data
    })
}


